#ifndef SEARCH_H
#define SEARCH_H

#include <QtWidgets>
#include <QLabel>
#include <QTimer>
#include <QDateTime>
#include <QUdpSocket>
#include <QHostAddress>
#include <QTimer>
#include <QDebug>
namespace Ui {
class Search;
}

class Search : public QWidget
{
    Q_OBJECT

public:
    explicit Search(QWidget *parent = 0);
    ~Search();
public slots:
    void updateTime();
private slots:
    void on_pushButton_clicked();
    void processPendingDatagrams();
signals:
    void searchSignal(QString url);
private:
    Ui::Search *ui;

    QUdpSocket *udpSocket;
};

#endif // SEARCH_H
